package cn.alm.serviceorder.config;

import feign.Retryer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class RetryerConfig {

    @Bean
    Retryer retryer() {
        // 不传参数的话，默认值是：100ms，1000ms，5
        return new Retryer.Default(100, 1000, 5);
    }

}
